package com.wechat.wechat.service.impl;

import com.wechat.wechat.entity.SellerInfo;
import com.wechat.wechat.repository.SellerInfoRepository;
import com.wechat.wechat.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.Action;

/**
 * @author NN
 * @2020/2/26 20:59
 */
@Service
public class SellerServiceImpl implements SellerService {
    @Autowired
    private SellerInfoRepository repository;
    @Override
    public SellerInfo findByOpenid(String openId) {
        return repository.findByOpenid(openId);
    }
}
